#pragma once
#include"Piece.h"
class Player
{
private:
	int     m_consoleName;//name of players console

public:
	int m_playersCards[g_inumOfPlayerCards];//card types
	int m_cardBeingUsed; // the card that the player picked
	int m_cardsLeft;
	int m_pieceToMove; // the number for the piece to move
	int m_cardsUsed;
	int m_moveDone; //when it reaches zero hes home
	Piece* m_pieceInfo[g_inumPieces]; //number of pieces for that player
	Player();
	~Player();
	bool isEmpty;
	void Player::Init(eConsoleType a_iWhichConsole);
	bool checkCards();
	bool safeMovement(int a_cardToUse, int a_consoleType,int a_pieceIndex);
	//move function

	bool MovePiece(int a_pieceIndex, int a_moveBy); 
};